package com.xjrsoft.module.customer.erp_model.eRP_FinancePayment.service;

import com.xjrsoft.module.customer.erp_model.eRP_FinancePayment.entity.ErpFinancepayment;
import com.xjrsoft.module.customer.erp_model.eRP_FinancePayment.entity.ErpFinancepaymentbill;
import com.xjrsoft.module.customer.erp_model.eRP_FinancePayment.dto.ErpFinancepaymentListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-09-24
 */
public interface IErpFinancepaymentService extends IService<ErpFinancepayment> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpFinancepayment> getPageList(ErpFinancepaymentListDto pageListDto);

	List<ErpFinancepaymentbill> getErpFinancepaymentbillByParentId(String parentId);
	String addErpFinancepayment(ErpFinancepayment erpFinancepayment, List<ErpFinancepaymentbill> erpFinancepaymentbillList);

	boolean updateErpFinancepayment(String id, ErpFinancepayment erpFinancepayment, List<ErpFinancepaymentbill> erpFinancepaymentbillList);
}
